package com.hivekion.system.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.ColumnComment;
import com.gitee.sunchenbin.mybatis.actable.annotation.ColumnType;
import com.gitee.sunchenbin.mybatis.actable.annotation.Index;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import com.hivekion.common.entity.BaseEntity;
import lombok.Data;

/**
 * 户信息
 *
 * @author sutao
 */
@TableName("tjj_sys_home_name")
@Data
public class SysHomeName extends BaseEntity {
      // 户编号用ID

      @TableField
      @ColumnType(value = MySqlTypeConstant.VARCHAR, length = 50)
      @Index(value = "index_home_name_id", columns = {"home_name_id"})
      @ColumnComment("表头Id")
      private String homeNameId;

      @TableField
      @ColumnType(value = MySqlTypeConstant.VARCHAR, length = 50)
      @Index(value = "index_bi_name_id", columns = {"bi_name_id"})
      @ColumnComment("元数据Id")
      private String biNameId;

      @TableField
      @ColumnType(value = MySqlTypeConstant.VARCHAR, length = 50)
      @Index(value = "index_owner_id",columns = {"owner_id"})
      @ColumnComment("户主Id")
      private String ownerId;

      @TableField
      @ColumnType(value = MySqlTypeConstant.VARCHAR, length = 50)
      @ColumnComment("户主")
      @Index(value = "home_owner",columns = {"home_owner"})
      private String homeOwner;

      @TableField
      @ColumnType(value = MySqlTypeConstant.VARCHAR, length = 50)
      @ColumnComment("填写人")
      private String signName;

      @TableField
      @ColumnType(value = MySqlTypeConstant.VARCHAR,length = 255)
      @ColumnComment("居委会名称")
      private String committeeName;

      @TableField
      @ColumnType(value = MySqlTypeConstant.VARCHAR,length = 255)
      @ColumnComment("街道名称")
      private String areaName;

      @TableField
      @ColumnType(value = MySqlTypeConstant.VARCHAR,length = 50)
      @ColumnComment("街道路径Id")
      private String areaId;

      @TableField
      @ColumnType(value = MySqlTypeConstant.VARCHAR, length = 50)
      @Index(value = "index_path_id",columns = {"path_id"})
      @ColumnComment("街道Id")
      private String pathId;

      @TableField
      @ColumnType(value = MySqlTypeConstant.VARCHAR, length = 50)
      @ColumnComment("是否提交")
      private String isSubmit;

      @TableField
      @ColumnType(value = MySqlTypeConstant.INT)
      @ColumnComment("家庭成员数")
      private Integer memberNum;
}
